import QtQuick
import QtQuick.Window
import QtQuick.Layouts
 import QtQuick.Controls
import qc.window 1.0
FramelessWindow {
    id:window
    width: 1010
    height: 710
    minimumWidth: 1010
    minimumHeight: 710
    color: "#2F000000"
    visible: true
    title: qsTr("Hotel Manager")

    QtObject{
        id:p_theme
        property int current: 0
        property var defaultTheme: [
            {name:"pink",backgroundColor:"#FAF2F1",subColor:"#FAF7F6",subBackgroundColor:"#FF5966", fontColor:"#572920",type:"default"}
        ]
    }
    HotelResource{
        id:p_hotelRes
    }

    Column{
        anchors.fill: parent
        ATitleZone{
            id:titleBar
            width: parent.width
            height: 80
        }

        Rectangle{
            id:content
            width:parent.width
            height: window.height-titleBar.height-bottomBar.height
            Row{
                width: parent.width
                height: parent.height

                ALeftMenuZone{
                    id:leftBar
                    width: 180
                    height: parent.height

                }

                AContentZone{
                    id:rightContent
                    width:parent.width-leftBar.width
                    height: parent.height
                    thisQml:leftBar.thisQml/*"PageMusicPlayListDetail.qml"*/
                }

            }
        }
        ABottomZone{
            id:bottomBar
            width:parent.width
            height: 80
        }
    }
}
